﻿
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_StudentLayout.cshtml";
}
<nav>
    <script type="text/javascript" id="navigation">
     var tmp1 = "";
    @if (User.IsInRole("Administrator")){          
   
        @:var tmp = "foo";
       
    };
    </script>
</nav>
<section id="activegames">
    <h2>Virk verkefni</h2>
    <!--Vantar lista af virkum verkefnum-->
    <h2>Virk pr&oacute;f</h2>
    <!--Vantar lista af virkum prófum-->
</section>
<section id="messages">
    <h2>Skilaboð fr&aacute; kennara</h2>
    <!--Vantar lista af skilaboðum-->
    @Html.ActionLink("Öll skilaboð", "Index", "Announcement")
</section>